﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="renderer" content="webkit"/>
    <title>twiWindow</title>    
    <link href="/Framework/bootstrap-3.2.0/css/bootstrap.min.css" rel="stylesheet" />
    <link href="../../twiWindow/twiWindow.css" rel="stylesheet" />
    <script src="/Framework/jquery/jquery-1.11.1.min.js"></script>
    <script src="/Framework/bootstrap-3.2.0/js/bootstrap.min.js"></script>
    <script src="../../twiWindow/jquery.TwiWindow.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#btnShowWin').click(function () { 
                var twiWin = new Twi.Win({
                    title:'这个是配置的标题',
                    html: 'I am feitianxinhong',
                    width: 500,
                    height:400
                });
                twiWin.show();
                $('#twiVersion').html(twiWin.VERSION);
            });
        })
    </script>
</head>
<body>
    <div class="container">
        <h3>Twi.Window V<span id="twiVersion">...</span>版本</h3>
        <button class="btn btn-success" id="btnShowWin">显示窗口</button>
        <div class="row">
            <div class="col-sm-12">
                <p>这里是内容1</p>
                <div id="grid"></div>
                <p>这里是内容2</p>
            </div>
        </div>
<!--        <div class="twiWinContainer">
            <div class="twiWinBg"></div>                       
            <div class="twiWinContent">
                <div class="twiWinClose">
                    <span class="glyphicon glyphicon-remove-circle" aria-hidden="true"></span>
                </div>    
                <div class="twiWinTitle">这里是标题</div>
                <div class="twiWinBody">
                    这里是内容
                </div>
                <div class="twiWinBbar">
                    <button class="btn btn-danger twiWinBbarClose">关闭</button>
                </div>
            </div> 
        </div>-->
    </div>
</body>
</html>
